<?php
namespace Api\Controller;
use Think\Controller;
header('Content-Type: text/html;charset=utf-8');
header('Access-Control-Allow-Origin:*'); //代表允许任何网址请求
header('Access-Control-Allow-Methods:POST,GET,OPTIONS,DELETE');
class CommonController extends Controller {
    function __construct()
    {
        parent::__construct();

    }
}